<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>i2c: dbOrganization Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">i2c
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">dbOrganization Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="dbOrganization" --><table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#adc4fa016c55f687b7432b42c85541d4c">getAllOrganizations</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#aa2d64a18b3dd1239a86dbfa299f579f4">buildQuery</a> ($search, $sort)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#ae08ebacf19877370e18d4ddc9d70cf95">getOrganizationID</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#acbf9231ed41368b197a224e0a3c508b9">getOrganizationName</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#a97a2ae042a57fd9b756f8f974fa1a9e2">deleteFromOrganization</a> ($id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#a291bbe2b93ddff943c9bb1dc457546e4">getDescription</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#a9cd17644bf53f6f1b8d72308a7ec6bc5">getAddress</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#ac7d2df1419267484aa411f5f1464d1a1">getAddress1</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#a263dc404576137658db70379a44f686d">getCity</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#a1dd55358790256c4504031c864f99a64">getStateName</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#ad3add86b9744236d8a4248b89bfb59b4">getZip</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#a086b4a3ee747007a1095ed8549247203">updateOrganization</a> ($id, $o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#a24bbd5f3b20fee4fd811b71c9e634f63">getCities</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#aab7a964c22fbeb67f39f31210c53800d">getOrgID</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#aeb03eb9ec220070fb03079fb0b457775">getOrganizationByName</a> ($organizationName)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#aa493dade25b4eeb870085d202226f45c">displayOrg</a> ($row)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#a61a8d732df4c84e8584454b819aa7131">checkIfExists</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#a7536d737c862712ea5199aefeb5c01f8">getOrganization</a> ($organizationName)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#afcd7e5c898e79a758c4bdbb67d01d5e6">deleteOrganization</a> ($o)</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#aea6c4d653e217f31256ded5783ed58f4">createTable</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#a3d350adf56d7b3c7912f6d3d361ddc11">addOrganization</a> ($o, &amp;$id=null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#a51006fa276e54bc0f48e55f4e6b0b123">getAllName</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_organization.html#a2dfd5427fef776258f77a33a83c72411">getAllByID</a> ($id, &amp;$output=null)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Communicates with the <a class="el" href="class_contact.html">Contact</a> control file to know which student data to get and set. It is the only file that has the SQL queries and MySQL connections</p>
<dl class="copyright"><dt><b>Copyright:</b></dt><dd>2011 by Dan, Steven, Brice, Mike, and Aaron. This program is part of <a class="el" href="class_internship.html">Internship</a> 2 Career, which is free software. It comes with absolutely no warranty. You can redistribute or modify it under the terms of the GNU General Public License as published by the Free Software Foundation (For more information, see &lt;<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>).</dd></dl>
<dl class="version"><dt><b>Version:</b></dt><dd>February 22, 2011</dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Aaron Jarzombek and Brice Rader This is the database file. It contacts the control file to know which contact data to get and set. It is the only file that has the SQL queries and MySQL connections </dd></dl>

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00025">25</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a3d350adf56d7b3c7912f6d3d361ddc11"></a><!-- doxytag: member="dbOrganization::addOrganization" ref="a3d350adf56d7b3c7912f6d3d361ddc11" args="($o, &amp;$id=null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static addOrganization </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>id</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Inserts data in the organization</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">organization</td><td class="paramname">$o</td><td>The data to be inserted. It has values for all the columns in the table, execpt for the prigramy key value, which is of type auto-increment. It is assumed that the data does not exist in the table.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the query is successful. </dd></dl>

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00335">335</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="aa2d64a18b3dd1239a86dbfa299f579f4"></a><!-- doxytag: member="dbOrganization::buildQuery" ref="aa2d64a18b3dd1239a86dbfa299f579f4" args="($search, $sort)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">buildQuery </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>search</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>sort</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00077">77</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="a61a8d732df4c84e8584454b819aa7131"></a><!-- doxytag: member="dbOrganization::checkIfExists" ref="a61a8d732df4c84e8584454b819aa7131" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">checkIfExists </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Checks to see if the ID exists. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$o</td><td>Class <a class="el" href="class_organization.html">Organization</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>int Returns FALSE if ID cannot be found, and TRUE if ID is found </dd></dl>

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00393">393</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="aea6c4d653e217f31256ded5783ed58f4"></a><!-- doxytag: member="dbOrganization::createTable" ref="aea6c4d653e217f31256ded5783ed58f4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static createTable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00027">27</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="a97a2ae042a57fd9b756f8f974fa1a9e2"></a><!-- doxytag: member="dbOrganization::deleteFromOrganization" ref="a97a2ae042a57fd9b756f8f974fa1a9e2" args="($id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">deleteFromOrganization </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00149">149</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="afcd7e5c898e79a758c4bdbb67d01d5e6"></a><!-- doxytag: member="dbOrganization::deleteOrganization" ref="afcd7e5c898e79a758c4bdbb67d01d5e6" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">deleteOrganization </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Deletes an <a class="el" href="class_organization.html">Organization</a> from the database. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$o</td><td>Class <a class="el" href="class_organization.html">Organization</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>bool Returns TRUE if contact can be deleted. </dd></dl>

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00438">438</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="aa493dade25b4eeb870085d202226f45c"></a><!-- doxytag: member="dbOrganization::displayOrg" ref="aa493dade25b4eeb870085d202226f45c" args="($row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">displayOrg </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>row</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00382">382</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="a9cd17644bf53f6f1b8d72308a7ec6bc5"></a><!-- doxytag: member="dbOrganization::getAddress" ref="a9cd17644bf53f6f1b8d72308a7ec6bc5" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAddress </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00179">179</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="ac7d2df1419267484aa411f5f1464d1a1"></a><!-- doxytag: member="dbOrganization::getAddress1" ref="ac7d2df1419267484aa411f5f1464d1a1" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAddress1 </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00193">193</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="a2dfd5427fef776258f77a33a83c72411"></a><!-- doxytag: member="dbOrganization::getAllByID" ref="a2dfd5427fef776258f77a33a83c72411" args="($id, &amp;$output=null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static getAllByID </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>output</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00472">472</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="a51006fa276e54bc0f48e55f4e6b0b123"></a><!-- doxytag: member="dbOrganization::getAllName" ref="a51006fa276e54bc0f48e55f4e6b0b123" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static getAllName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00458">458</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="adc4fa016c55f687b7432b42c85541d4c"></a><!-- doxytag: member="dbOrganization::getAllOrganizations" ref="adc4fa016c55f687b7432b42c85541d4c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAllOrganizations </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retrieves all the data in the table organization</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Resource object that contains retrieved data. If query is fails, it returns false. </dd></dl>

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00060">60</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="a24bbd5f3b20fee4fd811b71c9e634f63"></a><!-- doxytag: member="dbOrganization::getCities" ref="a24bbd5f3b20fee4fd811b71c9e634f63" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getCities </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00321">321</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="a263dc404576137658db70379a44f686d"></a><!-- doxytag: member="dbOrganization::getCity" ref="a263dc404576137658db70379a44f686d" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getCity </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00207">207</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="a291bbe2b93ddff943c9bb1dc457546e4"></a><!-- doxytag: member="dbOrganization::getDescription" ref="a291bbe2b93ddff943c9bb1dc457546e4" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getDescription </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00165">165</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="a7536d737c862712ea5199aefeb5c01f8"></a><!-- doxytag: member="dbOrganization::getOrganization" ref="a7536d737c862712ea5199aefeb5c01f8" args="($organizationName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getOrganization </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>organizationName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets all the organization information for an organization with a certain ID. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">int</td><td class="paramname">$organizationID</td><td>ID of an organization you want to get. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>object Returns FALSE if ID does not exist, or an <a class="el" href="class_organization.html">Organization</a> object if it does </dd></dl>

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00417">417</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="aeb03eb9ec220070fb03079fb0b457775"></a><!-- doxytag: member="dbOrganization::getOrganizationByName" ref="aeb03eb9ec220070fb03079fb0b457775" args="($organizationName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getOrganizationByName </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>organizationName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00373">373</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="ae08ebacf19877370e18d4ddc9d70cf95"></a><!-- doxytag: member="dbOrganization::getOrganizationID" ref="ae08ebacf19877370e18d4ddc9d70cf95" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getOrganizationID </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets the organization ID </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>object Returns MySQL data object </dd></dl>

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00128">128</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="acbf9231ed41368b197a224e0a3c508b9"></a><!-- doxytag: member="dbOrganization::getOrganizationName" ref="acbf9231ed41368b197a224e0a3c508b9" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getOrganizationName </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00135">135</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="aab7a964c22fbeb67f39f31210c53800d"></a><!-- doxytag: member="dbOrganization::getOrgID" ref="aab7a964c22fbeb67f39f31210c53800d" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getOrgID </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00360">360</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="a1dd55358790256c4504031c864f99a64"></a><!-- doxytag: member="dbOrganization::getStateName" ref="a1dd55358790256c4504031c864f99a64" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getStateName </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00221">221</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="ad3add86b9744236d8a4248b89bfb59b4"></a><!-- doxytag: member="dbOrganization::getZip" ref="ad3add86b9744236d8a4248b89bfb59b4" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getZip </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00235">235</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<a class="anchor" id="a086b4a3ee747007a1095ed8549247203"></a><!-- doxytag: member="dbOrganization::updateOrganization" ref="a086b4a3ee747007a1095ed8549247203" args="($id, $o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">updateOrganization </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Updates organization information. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$o</td><td>Class <a class="el" href="class_organization.html">Organization</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>int Returns FALSE if there was an error updating, else returns TRUE </dd></dl>

<p>Definition at line <a class="el" href="db_organization_8php_source.html#l00255">255</a> of file <a class="el" href="db_organization_8php_source.html">dbOrganization.php</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/Jon/Downloads/OOP/db-control/<a class="el" href="db_organization_8php_source.html">dbOrganization.php</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Nov 29 2011 18:18:56 for i2c by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
